/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package spärrsonat;

import grafik.*;
import javax.sound.midi.*;
import javax.swing.JFrame;

/**
 *
 * @author leofidjeland
 */
public class Spärrsonat{

    /**
     * @param args the command line arguments
     */
    public final TimeMachine timeMachine;
    public final NodeSimulator nodes;
    public final SoundMachine soundMachine;
    public final MainGrafik mainGrafik;
    
    public Spärrsonat() {
        soundMachine = new SoundMachine();
        timeMachine = new TimeMachine(soundMachine);
        timeMachine.start();
        nodes = new NodeSimulator(timeMachine);
        nodes.start();
        mainGrafik = new MainGrafik();
    }
    
    
    public static void main(String[] args) {
        new Spärrsonat();
    }
}
